package com.example.excel.data;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import java.util.List;

/**
 * @ClassName:
 * @Author: niss
 * @Description:
 * @Date: Create in 15:48 2019-10-18
 */
@Data
@ExcelTarget("vehicleOwner")
public class VehicleDto extends TbVehicleOwnerDto {

    @Excel(width = 25, needMerge = true, orderNum = "3", name = "所属停车场")
    private String parkName;

    private String parkCoding;

    private TbVehicleOwnerDto tbVehicleOwnerDto;

    @ExcelCollection(name = "车辆", orderNum = "4")
    private List<TbVehicleListDto> tbVehicleListDtos;

    private String deletedTbVehicleListIds;

    private List<TbVehicleOwner> tbVehicleOwners;

    private List<TbVehicleList> tbVehicleLists;

}
